package com.gulimall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.to.OAuthResTo;
import com.common.to.UserLoginTo;
import com.common.to.UserRegTo;
import com.common.utils.PageUtils;
import com.gulimall.member.entity.MemberEntity;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 会员
 *
 * @author Rookie-886
 * @email ${email}
 * @date 2021-03-14 22:25:33
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void register(UserRegTo userRegTo);

    MemberEntity login(UserLoginTo userLoginTo);

    MemberEntity oAuthLogin(OAuthResTo oAuthResTo) throws Exception;

}

